﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Geral.Master" Inherits="System.Web.Mvc.ViewPage<SiteAgle.Models.GrupoTrabalho>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	Novo
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
<h1>Gestor Agile - CADASTRO GRUPO DE TRABALHO (NOVO)</h1>

		<form name="frmExecucao" id="frmExecucao" action="/grupotrabalho/Novo" method="post">

		<div class="botoes">
			<a href="#" title="Salvar" class="save-execucao"> 
				<div class="botoesBox">
					<span class="salvar"></span>
				</div> 
			</a>

			<a href="/grupotrabalho" title="Voltar">
				<div class="botoesBox">
					<span class="voltar"></span>
				</div>
			</a>
		</div>

		<div id="content">
			<fieldset>
				<legend>Formulário</legend>
				<div class="fieldset-ajusta">
					<div class="campos">
						<label for="txtNome">Nome do Grupo:*</label>
					     <%: Html.TextBoxFor(model => model.Descricao, new { @class = "required ", @placeholder = "Informe nome do grupo", @autofocus = "" })%>
			
					</div>

					<div class="t100">
						<label for="txtNome">Participantes:*</label>
                   
                       <div class="checkbox">
                           <% foreach(SiteAgle.Models.Usuario user in  SiteAgle.ViewHelper.DropDowns.UsuarioVO()){%>
                                 <input type="checkbox" id="Checkbox1" name="ckd" value="<%:user.Id %>"><%=user.Nome %><br />
                           <% } %>
						
						</div>
					</div>
				</div>
			</fieldset>	
		</div><!-- CONTENT -->
	</form><%--
    <h2>Novo</h2>

    <% using (Html.BeginForm()) {%>
        <%: Html.ValidationSummary(true) %>

        <fieldset>
            <legend>Fields</legend>
            
            <div class="editor-label">
                <%: Html.LabelFor(model => model.Id) %>
            </div>
            <div class="editor-field">
                <%: Html.TextBoxFor(model => model.Id) %>
                <%: Html.ValidationMessageFor(model => model.Id) %>
            </div>
            
            <div class="editor-label">
                <%: Html.LabelFor(model => model.Descricao) %>
            </div>
            <div class="editor-field">
                <%: Html.TextBoxFor(model => model.Descricao) %>
                <%: Html.ValidationMessageFor(model => model.Descricao) %>
            </div>
            
            <div class="editor-label">
                <%: Html.LabelFor(model => model.Criacao) %>
            </div>
            <div class="editor-field">
                <%: Html.TextBoxFor(model => model.Criacao) %>
                <%: Html.ValidationMessageFor(model => model.Criacao) %>
            </div>
            
            <p>
                <input type="submit" value="Create" />
            </p>
        </fieldset>

    <% } %>

    <div>
        <%: Html.ActionLink("Back to List", "Index") %>
    </div>
--%>
</asp:Content>

<asp:Content ID="Content3" ContentPlaceHolderID="ContentHead" runat="server">
</asp:Content>

<asp:Content ID="Content4" ContentPlaceHolderID="ContentFooter" runat="server">
</asp:Content>

<asp:Content ID="Content5" ContentPlaceHolderID="ContentScripts" runat="server">
</asp:Content>

